<template>
    <div style="display: flex;flex-direction: column;justify-content: center;align-items: center;height: 80vh">
        <img src="@/assets/没有权限.png" style="width: 500px;height: 300px" />
        <h2 style="margin-top: 20px">您暂无访问该页面的权限,2s后跳转到登录页面...</h2>
    </div>
</template>

<script>
export default {
    mounted() {
        setTimeout(() => {
            localStorage.removeItem("user")
            this.$router.push({name: 'login'})
        },2000)
    }
}
</script>